<template>
  <div class="nav">
    <div class="all">
      <router-link to="/index">
        <div class="icon">
          <img src="../img/logo.png" alt="">
        </div>
      </router-link>
      <div class="text">
        <span class="bt">小米商城</span>
        <span class="lt">让每个人都能享受科技的乐趣</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.nav {
  display: flex;
  justify-content: flex-start;
  height: 103px;
  width: 1920px;
  .all {
    margin-top: 29px;
    margin-left: 391px;
    display: flex;
    height: 63px;

    .icon {
      width: 63px;
      height: 64px;
      margin-right: 18px;
      // background-image: url('../img/logo.png');
  img{
    width: 100%;
    height: 100%;
  }
    }
    .text {
      display: flex;
      height: 53px;
      margin-top: 33px;
      flex-direction: column;
      .bt {
        margin-top: -35px;
        height: 40px;
        font-size: 30px;
        font-weight: bold;
        font-stretch: normal;
        line-height: 40px;

        color: #333333;
      }
      .lt {
        font-size: 10px;
        font-weight: bold;
        font-stretch: normal;
        height: 13px;

        color: #666666;
      }
    }
  }
}
</style>